<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>messageComponent</title>
  <link rel="stylesheet" href="./index.css">
  <style>
    body {
      width: 100%;
      height: 1000px;
      overflow: hidden;
    }

    .button {
      width: 100px;
      height: 30px;
      border: none;
      cursor: pointer;
      display: block;
      margin-top: 20px;
    }
  </style>
</head>

<body>
  <button id="button1" class="button" style="background-color:rgb(167, 167, 163);">消息</button>
  <button id="button2" class="button" style="background-color: rgb(12, 199, 137);">成功</button>
  <button id="button3" class="button" style="background-color: rgb(190, 188, 16);">警告</button>
  <button id="button4" class="button" style="background-color: rgb(204, 20, 20);">错误</button>
  <script src="./index.js"></script>
</body>

</html>
